#include <iostream>
#include <unistd.h>
#include<stdio.h>
using namespace std;

int main()
{
    for (int i = 0; environ[i]; ++i)
    {
        printf("env[%d]: %s\n", i, environ[i]);
    }
    std::cout<<"hello c++"<<std::endl;
    return 0;
}